package com.briup.pts.domain.vo;

import com.briup.pts.domain.bean.Animal;
import com.briup.pts.domain.bean.Hurdles;
import com.briup.pts.domain.bean.IndexRecord;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 用于前端展示的动物溯源数据的实体
 */
@Data
@Builder
public class SourceVO {
    @Schema(description = "指定id动物的数据")
    private Animal animal;
    @Schema(description = "该动物所在栏圈数据")
    private Hurdles hurdles;
    @Schema(description = "该动物所在批次的数据")
    private BatchVO batch;
    @Schema(description = "该动物所有病症记录")
    private List<DiseaseRecordVO> diseaseRecords;
    @Schema(description = "该动物所有的指标变化记录")
    private List<IndexRecord> indexRecords;
}
